$webwork.htmlEncode($page.space.name) : 1a Data Directory
This page last changed on Sep 23, 2007 by cholmes.
LESSON 1a Configuring a Data DirectoryObjective: This tutorial will teach you how to configure a 'data directory', which is a way to keep your configuration separate from the current installation of GeoServer, making it very easy to upgrade to new versions of GeoServer with no additional configuration. 1) Getting the Data DirectoryThe file 'workshop-data.zip' has been provided, copy it to a stable location - C:/. This contains all the files needed to configure GeoServer. Unzip it, which should give you a directory C:/workshop-data 2) Examining the Data DirectoryThere are several ways to set the data directory. Binary/exe distributions have a default location that is checked first, at geoserver/data_dir. Open up that directory and explore. You should see two files and a number of directories. Open up catalog.xml and services.xml and look at the kind of data that is stored in there. Explore a few directories. 3) Setting the Data DirectoryFor this workshop we want to use a different data directory. Instead of using the default location we are going to set it to use another location. One could just copy the new directory to a the default location, but having a stable location lets one switch between different versions of GeoServer without copying directories around.
4) Make sure it worked
|
![]() |
Document generated by Confluence on Jan 16, 2008 23:27 |